<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Location Based Products Survey</title>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>

    <%= stylesheet_link_tag "scaffold.css", "style.css" %>
    <%= javascript_include_tag :defaults %>
    <%= csrf_meta_tag %>

  </head>
  <body onload="initialize()">
    <div id="header">
      <div id="logo">
        <h1><a id="logo-sub" href="/">Survey System</a></h1>
        <br/>
        <p><em> A location based survey system for products</em></p>
      </div>
      <hr />
      <!-- end #logo -->
      <%= render :partial => 'users/user_bar' %>
      <div id="menu">
        <ul>
          <li><a href="/" class="first">Home</a></li>
          <li class="current_page_item"><a href="<%= questionnaires_path%>">Top Surveys</a></li>
          <li><a href="<%= companies_path %>">Companies</a></li>
          <li><a href=<%= abouts_path %>>About us</a></li>
        </ul>
      </div>
    </div>
    <!-- end #header -->
    <div id="wrapper">
      <div id="wrapper-bgtop">
        <div id="page">

          <%= yield %>

        </div>
      </div>
    </div>
    <!-- end #content -->

    <!-- end #page -->
    <div style="clear: both;">&nbsp;</div>
    <div id="footer-bgcontent">
      <div id="footer">
        <div id="footer2">
          <p>Copyright &copy; 2010 Survey System. Developed and Designed by <b>Arnaldo Carreno-Fuentes</b> and <b>Gabriel Cebrian</b></p>
        </div>
      </div>
    </div>
    <!-- end #footer -->
  </body>
</html>
